package com.ruoyi.system.mapper;

import com.ruoyi.common.core.domain.entity.RestaurantOrderDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RestaurantOrderDetailMapper {
    List<RestaurantOrderDetail> selectList(RestaurantOrderDetail restaurantOrder);

    RestaurantOrderDetail selectById(Long id);

    Boolean insert(RestaurantOrderDetail restaurantOrder);

    Boolean update(RestaurantOrderDetail restaurantOrder);

    Boolean updateByCondition(RestaurantOrderDetail restaurantOrderDetail);

    Boolean updateById(RestaurantOrderDetail restaurantOrderDetail);

    Boolean deleteById(Long id);

    Boolean deleteByIds(@Param("ids") List<Long> ids);
}
